package com.wit.dao;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.wit.po.Department;
import com.wit.po.Employee;
import com.wit.po.Separation;

public interface SeparationDao {

	public boolean addSeparation(Separation separation);
	
	public boolean deleteSeparation(Separation separation);
	
	public boolean modifySeparation(Separation separation);
	
	public Separation findSeparationById(String SeparationId);
	
	public List<Separation> findSeparationByCondition(DetachedCriteria dc, Integer startRecord, Integer pageSize);
	
	public Integer findSeparationCount(DetachedCriteria dcCount);
	
	public List<Department> findAllDepartment();
	
	public List<Employee> findEmployeeByDepartmentId(String departmentId);
}
